package com.myh.gulimall.product.feign;

import com.myh.common.utils.R;
import com.myh.gulimall.product.vo.StockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Description: // 类说明，在创建类时要填写
 * @ClassName: WareFeignService    // 类名，会自动填充
 * @Author: MYH          // 创建者
 * @Date: 2024/2/28 11:13   // 时间
 * @Version: 1.0     // 版本
 */
@FeignClient("gulimall-ware")
public interface WareFeignService {
    @RequestMapping("ware/waresku/isHasStock")
    R isHasStock(@RequestBody List<Long> skuIds);

}
